package com.ruoyi.suppliers.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 suppliers
 * 
 * @author ruoyi
 * @date 2024-09-26
 */
public class Suppliers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商ID */
    private Integer id;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 供应商地址 */
    @Excel(name = "供应商地址")
    private String supplierAddress;

    /** 供应商电话 */
    @Excel(name = "供应商电话")
    private String supplierPhone;

    /** 供应商邮箱 */
    @Excel(name = "供应商邮箱")
    private String supplierEmail;

    /** 邮编 */
    @Excel(name = "邮编")
    private String postalCode;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String contactPhone;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String bankName;

    /** 开户账号 */
    @Excel(name = "开户账号")
    private String bankAccount;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 表的创建时间 */
    private Date createdAt;

    /** 更改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setSupplierAddress(String supplierAddress) 
    {
        this.supplierAddress = supplierAddress;
    }

    public String getSupplierAddress() 
    {
        return supplierAddress;
    }
    public void setSupplierPhone(String supplierPhone) 
    {
        this.supplierPhone = supplierPhone;
    }

    public String getSupplierPhone() 
    {
        return supplierPhone;
    }
    public void setSupplierEmail(String supplierEmail) 
    {
        this.supplierEmail = supplierEmail;
    }

    public String getSupplierEmail() 
    {
        return supplierEmail;
    }
    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierName", getSupplierName())
            .append("supplierAddress", getSupplierAddress())
            .append("supplierPhone", getSupplierPhone())
            .append("supplierEmail", getSupplierEmail())
            .append("postalCode", getPostalCode())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("bankName", getBankName())
            .append("bankAccount", getBankAccount())
            .append("status", getStatus())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
